<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="base" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <title></title>
</head>
<body>
<form action="${base}/article?method=update" method="post">
    <input type="hidden" name="id" value="${article.id}"/>
    <table>
        <tr>
            <td>
                标题：
            </td>
            <td>
                <input type="text" name="name" value="${article.name}"/>
            </td>
        </tr>

        <tr>
            <td>
                内容：
            </td>
            <td>
                <textarea name="content">${article.content}</textarea>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td>
                <input type="submit" value="提交"/>
                <input type="button" value="取消"/>
            </td>
        </tr>
    </table>
</form>
</body>
</html>
